package utils;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

public class MovieSession implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5871468729737951432L;

	private UUID id;

	private Theater t;

	private Room room;

	private String movieTitle;
	
	private Date time;

	private float price;

	public MovieSession(Theater t, Room r, String mt, Date time, float price) {
		id = UUID.randomUUID();
		this.t = t;
		this.room = r;
		this.movieTitle = mt;
		this.time = time;
		this.price = price;
	}

	public UUID getId() {
		return id;
	}

	public Date getTime() {
		return time;
	}

	public Theater getTheater() {
		return t;
	}

	public Room getRoom() {
		return room;
	}

	public String getMovieTitle() {
		return movieTitle;
	}

	public void setMovieTitle(String mt) {
		this.movieTitle = mt;
	}

	public float getPrice() {
		return price;
	}

	public void setTime(Date d) {
		time = d;
	}

	public void setTheater(Theater t) {
		this.t = t;
	}

	public void setRoom(Room r) {
		this.room = r;
	}

	public void setPrice(float p) {
		price = p;
	}
}
